package com.yn.courseselectionsystem.service;

import com.yn.courseselectionsystem.pojo.Course;
import com.yn.courseselectionsystem.pojo.CourseRecord;
import com.yn.courseselectionsystem.pojo.User;

import java.util.List;

public interface CourseService {
    List<Course> selCourse(Integer elect,Course course,User user);
    Course selCourseId( Integer id);

    //选课
    int takeTheCourse(CourseRecord courseRecord);

    //退课
    int dropTheCourse(Course course,User user);
}
